#!/bin/sh

cur_dir=`pwd`

if[ -e $cur_dir/build ];

fi


xmake f -p linux
xmake


# xmake --help
# xmake v2.1.9.201802032040, A cross-platform build utility based on Lua
# Copyright (C) 2015-2018 Ruki Wang, tboox.org, xmake.io
# Copyright (C) 2005-2015 Mike Pall, luajit.org

# Usage: $xmake [task] [options] [target]

# Build targets if no given tasks.

# Actions:
#        build             Build targets if no given tasks.
#     u, uninstall         Uninstall the project binary files.
#     p, package           Package target.
#     r, run               Run the project target.
#     g, global            Configure the global options for xmake.
#     c, clean             Remove all binary and temporary files.
#        create            Create a new project.
#     q, require           Install and update required packages.
#     i, install           Package and install the target binary files.
#     f, config            Configure the project.

# Plugins:
#     l, lua               Run the lua script.
#     m, macro             Run the given macro.
#        doxygen           Generate the doxygen document.
#        echo              Echo the given info!
#        repo              Manage package repositories.
#        hello             Hello xmake!
#        project           Generate the project file.
#        app2ipa           Generate .ipa file from the given .app

# Options:
#     -q, --quiet                            Quiet operation.
#     -y, --yes                              Input yes by default if need user confirm.
#     -v, --verbose                          Print lots of verbose information.
#         --root                             Allow to run xmake as root.
#         --backtrace                        Print backtrace information for debugging.
#         --profile                          Print performance data for debugging.
#         --version                          Print the version number and exit.
#     -h, --help                             Print this help message and exit.

#     -F FILE, --file=FILE                   Read a given xmake.lua file.
#     -P PROJECT, --project=PROJECT          Change to the given project directory.
#                                            Search priority:
#                                                1. The Given Command Argument
#                                                2. The Envirnoment Variable: XMAKE_PROJECT_DIR
#                                                3. The Current Directory

#     -b, --build                            Build target. This is default building mode and optional.
#     -r, --rebuild                          Rebuild the target.
#     -a, --all                              Build all targets.

#     -j JOBS, --jobs=JOBS                   Specifies the number of jobs to build simultaneously. (default: 4)
#     -w, --warning                          Enable the warnings output.

#     target                                 Build the given target.

